package com.sixth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sixth.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

/**
 * @program: self-tui-education
 * @description:
 * @author: 高振杨
 * @create: 2022-04-14 17:37
 **/
@Component
public interface UserDao extends BaseMapper<User> {
    @Update("update acl_user set password=#{encode} where id=#{id}")
    int updateUserPassword(@Param("id") String id, @Param("encode") String encode);
}
